package com.situ.dao;

import com.situ.util.DBUtil;

public class RoleMenuDao {

    public void delete(Integer rid) {
        DBUtil.executeDML("delete from role_menu where role_id = ?", rid);
    }

    public void insert(Integer rid, int i) {
        DBUtil.executeDML("insert into role_menu(role_id,menu_id) values(?,?)", rid, i);
    }
}
